package com.wht.media.model.param;

import lombok.Data;
import org.noear.solon.validation.annotation.NotBlank;

import java.io.Serializable;

/**
 * 关闭流请求参数
 *
 * @author lidaofu
 * @since 2023/3/30
 **/
@Data
public class CloseStreamsParam implements Serializable {

    private static final long serialVersionUID = 1;

    /**
     * 应用名称
     */
    @NotBlank(message = "app不为空")
    private String app;

    /**
     * 流ID
     */
    @NotBlank(message = "流id不为空")
    private String stream;

    /**
     * 是否强制关闭
     */
    private Integer force = 1;

    /**
     * 流协议
     */
    private String schema;

}